package springbook.user.user.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class NUserDao /*extends UserDao*/{

	//@Override
	public Connection getConnection() throws ClassNotFoundException,
			SQLException {
			Class.forName("com.mysql.jdbc.Driver");
			String url = "jdbc:mysql://localhost:3306/spring";
			String dbuser = "springuser";
			String dbpassword = "springpassword";
			Connection c = DriverManager.getConnection(url, dbuser, dbpassword);
			return c;
		
	}

}
